package com.snail.starter.mq.enums;

import lombok.Getter;

/**
 * @author: snail framework
 * @Date: 2023/7/4 11:32
 * @Version: 1.0.0
 */
@Getter
public enum LocalMessageConsumerStatusEnum {

    CONSUMING(-1, "消费中"),
    SUCCEED(0, "消费成功"),
    FAILED(1, "消费失败"),
    ;

    private final Integer status;

    private final String desc;

    LocalMessageConsumerStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

}